import {get} from '@/utils/fetch'

export const getUnitInfoByCourseId = async (courseId) => {
  let rs = await get({
    path: `/v1/courses/${courseId}/units`
  })
  return rs
}
